<!-- 我的主页 -->
<link rel="stylesheet" href="/css/messageBoard.css">
<div class="main layui-clear" style="width: 100%;margin-bottom: 0;">
	<div class="fly-main layui-clear">
		<div class="wrap clearfix">
			<div class="layui-bar">
		    	<div class="layui-breadcrumbs">
		    		<a class="home" href="/"></a>
					<i class="layui-icon">&#xe602;</i>
			  		<a href="/messageboard/index/${user.id!''}.html">留言板</a>
			  		<i class="layui-icon">&#xe602;</i>
			  		<a href="/messageboard/index/${user.id!''}.html">留言</a>
		        </div>
		    </div>
		    <#include "/apps/user/userTopInformation.html">
			<div class="home-left">
				<#include "/apps/user/userinfo.html">
			</div>
			<div class="home-right" id="commenttopic">
				<div class="content">
					<ul class="title mobile-display-none">
					<li class="layui-this">留言</li>
					</ul>
					<div class="message-list">
						<#if messageBoardList??>
						<#list messageBoardList.content as list>
							<li>
							 <a href="/user/otherUser/${list.user.id}.html" target="_blank" class="fly-list-avatar mobile-display-none">
							 <img class="head" src="/${list.user.fileurl!''}" onerror="this.src='/images/user/default.jpg';this.onerror=null">
							 <span>${list.user.username!''}</span>
							 </a>
							<label><#if list.user.usertype?? && list.user.usertype == "0">管理员<#else>${list.user.grade.groups}</#if></label>
							<span class="time pc-display-none">${list.createtime?string('yyyy-MM-dd HH:mm')}</span>
							<div>${(list.content)?no_esc}</div>
							<span class="time mobile-display-none">${list.createtime?string('yyyy-MM-dd HH:mm')}</span>
							</li>
						</#list>
						</#if>
					</div>
				</div>
			</div>
			<div style="text-align: center" class="front-desk">
		        <div class="laypage-main" id="pages"></div>
		    </div>
		</div>
	</div>
</div>
